import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import 'virtual:windi.css';
import * as Icons from '@element-plus/icons-vue'


const app = createApp(App);
// 全局注册所有 Element Plus 图标
Object.keys(Icons).forEach((key) => {
    app.component(key, Icons[key])
})

app.use(ElementPlus);
app.use(router);
app.mount('#app');
